package com.tang.auth.application.convert;

import com.tang.auth.entity.AuthRoleDTO;
import com.tang.auth.domain.entity.AuthRoleBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthRoleDTOConverter {
    AuthRoleDTOConverter INSTANCE = Mappers.getMapper(AuthRoleDTOConverter.class);

    AuthRoleBO convertDtoTOBo(AuthRoleDTO authRoleDTO);
    AuthRoleDTO convertBoTODto(AuthRoleBO authRoleBO);
}
